package com.gp.gview.system.test;

import com.gp.gback.system.store.service.StoreInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by zhiyong.guo on 2017/8/16.
 */
@RestController
public class Controller {

    @Autowired
    private StoreInfoService storeInfoService;

    @RequestMapping("/hello")
    public String hello(){
        return  storeInfoService.getStoreCate();
    }
}
